Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow remote URLs in HTML "cite" attributes #1509

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Conversation

rdeltour
Copy link
Member

The resources referenced in cite attribute URLs are not publication resources.

This commit disables the publication-resource-specific URL checks for the cite attribute. For instance, the referenced document is not subject to resource location restrictions.

The URL is still registered in the reference registry, so that the existence of the underlying container resource is checked (for relative URLs).

Fix #1495

The resources referenced in `cite` attribute URLs are not publication resources.

This commit disables the publication-resource-specific URL checks for the `cite` attribute. For instance, the referenced document is not subject to resource location restrictions.

The URL is still registered in the reference registry, so that the existence of the underlying container resource is checked (for relative URLs).

Fix #1495
@rdeltour rdeltour added this to the Next maintenance release milestone Apr 28, 2023
@rdeltour rdeltour self-assigned this Apr 28, 2023
@rdeltour rdeltour linked an issue Apr 28, 2023 that may be closed by this pull request
Base automatically changed from test/mathml-altimg to main April 28, 2023 15:19
@rdeltour rdeltour merged commit 1b425fd into main Apr 28, 2023
@rdeltour rdeltour deleted the fix/1495/cite-remote branch April 28, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cite attribute to URI/IRI results in error message in version 5?
1 participant